package com.yinhai.ta404.component.security.base.access;

import com.yinhai.ta404.core.security.vo.BaseResourceVo;
import com.yinhai.ta404.core.security.vo.RestUrlVo;
import org.springframework.security.core.Authentication;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface IMenuStore {

    String BTN_AUTH_KEY = "BTN_AUTH_KEY";
    String BTN_NO_AUTH_KEY = "BTN_NO_AUTH_KEY";

    String RESOURCE_AUTH_KEY = "RESOURCE_AUTH_KEY";


    List<BaseResourceVo> getBaseResourceVos(Authentication authentication, Object object);

    List<BaseResourceVo> getResourceNoLogin(Authentication authentication, Object object);

    List<BaseResourceVo> getResourceLogin(Authentication authentication, Object object);


    List<RestUrlVo> getBtnResource(Authentication authentication, Object object, String resourceId);


    List<RestUrlVo> getResourceAuthInfo(Authentication authentication, Object object, String resourceId);



    List<String> getBtnNoAuthUrl(Authentication authentication, Object object, String resourceId);

}
